<script type="text/javascript">
  $('#myAffix').affix({
    offset: {
      top: 100
    , bottom: function () {
        return (this.bottom = $('.bs-footer').outerHeight(true))
      }
    }
  })
</script>
  <div class="container margin-top-content">
      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <div class="col-md-12">
            <div class="row outer-border shadow singlepage">
              <div class="col-md-9 padding15">
                <h4 class="font-biru judul-singlepage"><?php echo $hasil['judul']?></h4>
                <div class="outer-nobg">
                  <!-- mulai animasi -->
                  <?php
                  if($hasil['gambar']==""){
										$gambar="default.jpg";
									}else{
										$gambar=$hasil['gambar'];
									}
									$path_gambar=base_url()."foto_portofolio/".$gambar;
									?>
									<img src="<?php echo $path_gambar?>" alt="<?php echo $hasil['judul']?>"/>
									<p class="jarak-scroll" id="spek_desk"></p>
									<h4 class="judul-allclient">Deskripsi</h4>
									<?php
									echo $hasil['konten'];
									?>
                  <p class="jarak-scroll" id="spek_alur"></p>
									<h4 class="judul-allclient">Alur</h4>
									<?php
									echo $hasil['alur'];
									?>
									<p>-</p>
									<p class="jarak-scroll" id="spek_fitur"></p>
									<h4 class="judul-allclient">Fitur</h4>
									<?php
									echo $hasil['fitur'];
									?>
									<p>-</p>
									<p class="jarak-scroll" id="spek_hd"></p>
									<h4 class="judul-allclient">Spesifikasi Hardware</h4>
									<?php
									echo $hasil['spek_hardware'];
									?>
									<p>-</p>
									<p class="jarak-scroll" id="spek_client"></p>
									<h4 class="judul-allclient">Klien</h4>
									<?php
									echo $hasil['client'];
									?>
									<p>-</p>
			            <div class="clearfix"></div>
			            <!-- end animasi -->
                <div class="clearfix"></div>
                </div>
              </div>
              <div class="col-md-3 padding15">
                <?php
                  //include "sidebar.php";
				          $this->load->view('sidebar_portofolio');
                ?>
              </div>
              </div>
            <div class="clearfix"></div>
            </div>
          </div>
        <div class="clearfix"></div>
        </div>
      </div>
    </div><!-- /.container -->